// 定义全局常量（赋值）

#import <UIKit/UIKit.h>

/** APP */
//NSString * const ISBaseURL = @"http://localhost:3032/"; // 本机
NSString * const ISBaseURL = @"http://172.20.10.2:3032/"; // 手机热点
//NSString * const ISBaseURL = @"http://192.168.16.117:3032/"; // 办公室wifi
//NSString * const ISBaseURL = @"https://boerisocket.herokuapp.com/"; // heroku
//NSString * const ISBaseURL = @"http://115.159.205.198/"; // 腾讯云

NSString * const ISBaseWifiName = @"HF-A21x_AP"; // 升级款发出的wifi名称

// 官网
NSString * const ISWebsite = @"http://www.boericasa.com/index.html";

/** 常量 */
NSString * const socketDefaultHV = @"0.0.1.1123";
NSString * const socketDefaultIP = @"10.10.100.254";
NSInteger const verifyCooldown = 60;
CGFloat const ISSliderScale = 0.85;
CGFloat const ISCollectionCellSpacing = 0;
CGFloat const ISListCellSpacing = 10;
CGFloat const ISListCellHeight = 70;
CGFloat const ISNoteceAnimateDuration = 1;
CGFloat const ISNoteceAnimateExtraDuration = 0.25;
CGFloat const ISModeAnimateTime = 0.06;
CGFloat const ISShadowAlpha = 0.6;

// key
NSString * const ISBadgeNumberMain = @"badgeNumberMain";
NSString * const ISBadgeNumberMessage = @"badgeNumberMessage";
NSString * const ISPhoneNumber = @"phoneNumber";
NSString * const ISNickName = @"nickName";
NSString * const ISPersonalInfoKey = @"personalInfo";
NSString * const ISSina = @"sina";
NSString * const ISWechat = @"wechat";
NSString * const ISQQ = @"qq";
NSString * const ISSocketConfigure = @"isListConfigure1";
NSString * const ISAccount = @"account";
NSString * const ISPassword = @"password";
NSString * const ISUserID = @"userId";
NSString * const ISUserToken = @"token";
NSString * const ISNotAutoLogin = @"notAutoLogin1";
NSString * const ISTaskState = @"taskState";
NSString * const ISCurrentMode = @"currentMode";
NSString * const ISModes = @"modes";
NSString * const ISModeName = @"modeName";
NSString * const ISModeBundleSockets = @"bundleSockets";

// 通知
NSString * const ISNoteReloadPersonalInfo = @"reloadPersonalInfo";
NSString * const ISNoteReloadMainView = @"reloadMainView";
NSString * const ISNoteReloadSocketList = @"reloadSocketList";
NSString * const ISNoteReloadCurrentSocket = @"reloadCurrentSocket";
NSString * const ISNoteReplaceCurrentSocket = @"replaceCurrentSocket";
NSString * const ISNoteGetSlightModes = @"getSlightModes";
NSString * const ISNoteSlightModesRefresh = @"slightModesRefresh";
NSString * const ISNoteReloadSettimes = @"reloadSettimes";
NSString * const ISNoteShowLatestSettime = @"showLatestSettime";
NSString * const ISNoteGetMessage = @"getMessage";
NSString * const ISNoteSettimeWillAppear = @"settimeWillAppear";
NSString * const ISNoteSettimeWillDisAppear = @"settimeWillDisAppear";
NSString * const ISNoteSettimeWillReload = @"settimeWillReload";

// 显示文字
NSString * const ISErrorNet = @"网络好像出错了!";
NSString * const ISErrorServer = @"服务器好像出错了!";
